<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="../assets/lib/layui/css/layui.css">
  <link rel="stylesheet" href="./css/list.css">
</head>

<body>
  <div class="layui-card">
    <div class="layui-card-header">文章列表</div>
    <div class="layui-card-body">
      <!-- 内容区一：表单搜    索区 start -->
      <form id="search" class="layui-form" action="">
        <div class="layui-form-item">

          <div class="layui-inline">
            <div class="layui-input-inline" style="width: 200px;">
              <select id="cate_id" lay-verify="">
                <option value="">全部分类</option>
                <!-- <option value="010">北京</option>
                <option value="021">上海</option>
                <option value="0571">杭州</option> -->
              </select>
            </div>
            <div class="layui-input-inline" style="width: 200px;">
              <select id="state" lay-verify="">
                <option value="">全部状态</option>
                <option value="已发布">已发布</option>
                <option value="草稿">草稿</option>
              </select>
            </div>
          </div>

          <div class="layui-inline">
            <div class="layui-input-inline" style="width: 100px;">
              <button class="layui-btn" lay-submit lay-filter="formDemo">筛选</button>
            </div>
          </div>

        </div>
      </form>
      <!-- 内容区一：表单搜索区 end -->

      <!-- 内容区二：表格区 start -->
      <table class="layui-table">
        <colgroup>
          <col width="35%">
          <col width="17%">
          <col width="17%">
          <col width="17%">
          <col>
        </colgroup>
        <thead>
          <tr>
            <th>文章标题</th>
            <th>所属分类</th>
            <th>发布时间</th>
            <th>文章状态</th>
            <th>操作</th>
          </tr>
        </thead>
        <tbody>
          <!-- <tr>
            <td>人生就像是一场修行</td>
            <td>体育</td>
            <td>2016-11-29</td>
            <td>已发布</td>
            <td>
              <button type="button" class="layui-btn layui-btn-xs">编辑</button>
              <button type="button" class="layui-btn layui-btn-xs layui-btn-danger">删除</button>
            </td>
          </tr> -->
        </tbody>
      </table>
      <!-- 内容区二：表格区 end -->

      <!-- 内容区三：分页 start -->
      <div id="page"></div>
      <!-- 内容区三：分页 end -->
    </div>
  </div>

  <script src="../assets/lib/layui/layui.js"></script>
  <script src="../assets/lib/jquery.js"></script>
  <script src="../assets/js/common.js"></script>
  <script src="./js/list.js"></script>
</body>

</html>